package com.corpdata;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;

import com.corpdata.core.async.TaskThreadPoolConfig;

@SpringBootApplication
@EnableCaching
@EnableAsync
@EnableConfigurationProperties({TaskThreadPoolConfig.class} ) // 开启配置属性支持 
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}
